const {BookList} = require('../../models/BookList');

module.exports = async (req, res) => {
	const bookList = await BookList.find();
	res.send({errorCode:"0",msg:"success",data:{bookList:bookList}});
}